/**
 * Project Name:clps.sms
 * File Name:CommonData.java
 * Package Name:com.clps.dev.sms.common
 * Date:2018-10-31 11:40:57
 * Copyright (c) 2018,http://www.clpsglobal.com/zh/home-cn/ All Rights Reserved.
 *
 */
package com.clps.dev.sms.common;

/**
 * ClassName: CommonData <br/>
 * Description: 
 *
 * @author Jack.Huang
 * @version V1.0
 * @since JDK 1.8
   @date:2018-10-31 11:40:57
 */
public class CommonData {

	public static final int success = 1;
	public static final int failure = 0;
	public static final String SUCCESS = "001";
	public static final String FAILURE = "002";
	public static final String SAVE_SUCCESS = "001-001";
	public static final String UPDATE_SUCCESS = "002-001";
	public static final String DELETE_SUCCESS = "003-001";
	public static final String QUERY_SUCCESS = "004-001";
	public static final String FIND_SUCCESS  = "005-001";
	public static final String NULL_VALUE_FAILURE = "005-002";
	public static final String NOT_UNIQUE_FAILURE = "006-002";
	public static final String SAVE_FAILURE = "001-002";
	public static final String UPDATE_FAILURE = "002-002";
	public static final String DELETE_FAILURE = "003-002";
	public static final String QUERY_FAILURE = "004-002";
	public static final String FIND_FAILURE  = "005-002";
	public static final String YYYY_MM_DD = "yyyy-mm-dd";
	public static final String YYYY_MM_DD_hh_MM_SS = "yyyy-MM-dd hh:mm:ss";// 12
	public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";// 24
	public static final String EmailRule = "^[A-Za-z\\d]+([-_.][A-Za-z\\d]+)*@([A-Za-z\\d]+[-.])+[A-Za-z\\d]{2,4}$";
	public static final String EndRule = "com";
	public static final int ONJOB = 1;//在职状态
	public static final int DIMISSION = 0;//离职状态
	public static final int PAGESIZE = 20;
	public static final String CST = "z";
	public static final String Date_0800 = "Z";
	public static final String CREATETIME = "empCreateTime";
	public static final String EMAIL_TITLE = "密码重置";
	public static final String VALID_LINK = "链接已经过期，请重新发送邮箱请求重置密码";
	public static final String CONFIRM_SUCCESS = "密码重置成功";
	public static final String CONFIRM_FAILURE = "密码重置失败";
	public static final String 	EMAIL_SENDER = "1650475362@qq.com";
}
